package com.example.zhucongjdbc.mapper;

import com.example.zhucongjdbc.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description:
 * @Author:mayc
 * @Date:2020/3/9 21:18
 */
@Mapper
@Repository
public interface UserMapper {

    Long addUser(User user);

    List<User> list();
}
